﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Desktop.aspx.cs" Inherits="syc.Desktop" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
<script type="text/javascript">
    parent.resetsubmenu("我的首页");
    parent.appendsubmenu("我的桌面");
    parent.addmenuitem("修改密码", "/ChangePwd.aspx", 0, "003");
    
    <%

    if ((string)Session["OperatorID"] == "admin")
    {
        Response.Write("parent.addmenuitem('分厂身份模拟', '/Admin/分厂身份模拟.aspx', 0, '001');");
    }
     %>
    
    parent.openmenu(parent.getfirstsubmenu());
    parent.dialog_login_hide();
    parent.document.getElementById('adesktop').innerHTML = '<%=Session["OperatorName"] %>';
    if (parent.document.getElementById('adesktop').innerHTML == "") {
        parent.document.getElementById('adesktop').innerHTML = "登录";
    }
</script>
</head>
<body bgcolor="white">

</body>
</html>
